From: Evan Prodromou Date: Mon, 28 Jun 2004 20:42:13 +0000 (+0000) Subject: In credit blocks, show user pages as missing/existing links, depending on X-Git-Tag: 1.5.0alpha1~2750 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=4e9e22c4b1e5b6dc147dd342376ad48820247a4d;p=lhc%2Fweb%2Fwiklou.git In credit blocks, show user pages as missing/existing links, depending on user page state. --- diff --git a/includes/Credits.php b/includes/Credits.php index 23e74a13b3..4e30b81582 100644 --- a/includes/Credits.php +++ b/includes/Credits.php @@ -159,8 +159,8 @@ function getContributorCredits($article, $cnt, $showIfMax) { function creditLink($user_name, $link_text = '') { global $wgUser, $wgLang; $skin = $wgUser->getSkin(); - return $skin->makeKnownLink($wgLang->getNsText(NS_USER) . ":" . $user_name, - (empty($link_text)) ? $user_name : $link_text); + return $skin->makeLink($wgLang->getNsText(NS_USER) . ":" . $user_name, + (empty($link_text)) ? $user_name : $link_text); } function creditOthersLink($article) {